package happy.diandiankong.api.model;

import java.io.Serializable;

/**
 * Title.
 * <p>
 * Description.
 *
 * @author Bill Lv {@literal <billcc.lv@hotmail.com>}
 * @version 1.0
 * @since 2016-10-30
 */
public class GpioInput implements Serializable {
    String eventDate;
    Boolean updateState;
    Metadata metadata;
    String initiator;
    String initiatorId;
    String target;
    String targetId;
    String commandToken;
    ParameterValues parameterValues;
    String status;

    public GpioInput() {
    }

    public GpioInput(String eventDate, Boolean updateState, Metadata metadata, String initiator, String initiatorId, String target, String targetId, String commandToken, ParameterValues parameterValues, String status) {
        this.eventDate = eventDate;
        this.updateState = updateState;
        this.metadata = metadata;
        this.initiator = initiator;
        this.initiatorId = initiatorId;
        this.target = target;
        this.targetId = targetId;
        this.commandToken = commandToken;
        this.parameterValues = parameterValues;
        this.status = status;
    }

    public String getEventDate() {
        return eventDate;
    }

    public void setEventDate(String eventDate) {
        this.eventDate = eventDate;
    }

    public Boolean getUpdateState() {
        return updateState;
    }

    public void setUpdateState(Boolean updateState) {
        this.updateState = updateState;
    }

    public Metadata getMetadata() {
        return metadata;
    }

    public void setMetadata(Metadata metadata) {
        this.metadata = metadata;
    }

    public String getInitiator() {
        return initiator;
    }

    public void setInitiator(String initiator) {
        this.initiator = initiator;
    }

    public String getInitiatorId() {
        return initiatorId;
    }

    public void setInitiatorId(String initiatorId) {
        this.initiatorId = initiatorId;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getCommandToken() {
        return commandToken;
    }

    public void setCommandToken(String commandToken) {
        this.commandToken = commandToken;
    }

    public ParameterValues getParameterValues() {
        return parameterValues;
    }

    public void setParameterValues(ParameterValues parameterValues) {
        this.parameterValues = parameterValues;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "GpioInput{" +
                "eventDate='" + eventDate + '\'' +
                ", updateState=" + updateState +
                ", metadata=" + metadata +
                ", initiator='" + initiator + '\'' +
                ", initiatorId='" + initiatorId + '\'' +
                ", target='" + target + '\'' +
                ", targetId='" + targetId + '\'' +
                ", commandToken='" + commandToken + '\'' +
                ", parameterValues=" + parameterValues +
                ", status='" + status + '\'' +
                '}';
    }
}
